package id.net.iconpln.bb.server.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import id.net.iconpln.bb.server.dao.MasterDao;
import id.net.iconpln.bb.server.dao.PerencanaanDao;
import id.net.iconpln.bb.server.dao.PortDao;
import id.net.iconpln.bb.server.service.PerencanaanService;

@Service
@Transactional(readOnly = true)
public class PerencanaanServiceImpl implements PerencanaanService{
	@Autowired private MasterDao masterDao;
	@Autowired private PerencanaanDao perencanaanDao;

	@Override
	public List<Map> getMaster(String kode, Map map) {
		// TODO Auto-generated method stub
		return masterDao.getMaster(kode, map);
	}

	@Override
	public List<Map> getListRencanaByKit(String kode, Map map) {
		// TODO Auto-generated method stub
		return perencanaanDao.getListRencanaByKit(kode, map);
	}

	@Override
	public List<Map> crudPerencanaan(String kode, Map map) {
		// TODO Auto-generated method stub
		return perencanaanDao.crudPerencanaan(kode, map);
	}

	@Override
	public List<Map> getFormulaProduksi(String kode, Map map) {
		// TODO Auto-generated method stub
		return perencanaanDao.getFormulaProduksi(kode, map);
	}

	@Override
	public List<Map> getListKontrakByKit(String kode, Map map) {
		// TODO Auto-generated method stub
		return perencanaanDao.getListKontrakByKit(kode, map);
	}

	@Override
	public List<Map> crudPengadaan(String kode, Map map) {
		// TODO Auto-generated method stub
		return perencanaanDao.crudPengadaan(kode, map);
	}

}
